#ifndef __DISPLAY_H
#define __DISPLAY_H

#define LcdSckPort GPIOB
#define LcdSckPin  GPIO_PIN_5
#define LcdSdaPort GPIOB
#define LcdSdaPin  GPIO_PIN_4
#define LcdA0Port  GPIOC
#define LcdA0Pin   GPIO_PIN_6
#define LcdCsPort  GPIOC
#define LcdCsPin   GPIO_PIN_7
#define LcdRstPort GPIOC
#define LcdRstPin  GPIO_PIN_5

//#define LcdSckPort GPIOC
//#define LcdSckPin  GPIO_PIN_5
//#define LcdSdaPort GPIOC
//#define LcdSdaPin  GPIO_PIN_7
//#define LcdA0Port  GPIOC
//#define LcdA0Pin   GPIO_PIN_6
//#define LcdCsPort  GPIOB
//#define LcdCsPin   GPIO_PIN_4
//#define LcdRstPort GPIOB
//#define LcdRstPin  GPIO_PIN_5

//#define LcdSckPort GPIOC
//#define LcdSckPin  GPIO_PIN_3
//#define LcdSdaPort GPIOC
//#define LcdSdaPin  GPIO_PIN_4
//#define LcdA0Port  GPIOC
//#define LcdA0Pin   GPIO_PIN_5
//#define LcdCsPort  GPIOC
//#define LcdCsPin   GPIO_PIN_6
//#define LcdRstPort GPIOC
//#define LcdRstPin  GPIO_PIN_7

void delay_1ms(unsigned char j);
void LCD_SendCom(unsigned char COM);
void LCD_SendData(unsigned char Data);
void clear_lcd(void);
void init_9664(void);
void Print_a_Ascii8x16(unsigned char Ascii,unsigned char line,unsigned char Number);
void Print_Str_Ascii8x16(void *StrAscii,unsigned char line,unsigned char Number);
#endif